package org.jianfa.homework.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient // 开启注册中心客户端 （通用型注解，比如注册到Eureka、Nacos等）
                       // 说明：从SpringCloud的Edgware版本开始，不加注解也ok，但是建议大家加上
@MapperScan(basePackages = {"org.jianfa.homework.user.mapper"})
public class SpringcloudServiceUser8080Application {

	public static void main(String[] args) {
		SpringApplication.run(SpringcloudServiceUser8080Application.class, args);
	}

}
